Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Ada language support (after stale) #9908

Merged
merged 7 commits into from
Mar 19, 2024

Conversation

KhazAkar
Copy link
Contributor

Hi!
My first PR here :)
I've seen PR #7791 but it's stalled, so I've picked that work here. Sorry about wrong hash in the commit!

This PR adds ada language support on tree-sitter side, as well as language.toml side. I've tried applying suggestions from tomekw PR to my fork.

languages.toml Outdated Show resolved Hide resolved
languages.toml Outdated Show resolved Hide resolved
runtime/queries/ada/highlights.scm Outdated Show resolved Hide resolved
runtime/queries/ada/highlights.scm Outdated Show resolved Hide resolved
runtime/queries/ada/locals.scm Show resolved Hide resolved
runtime/queries/ada/locals.scm Outdated Show resolved Hide resolved
runtime/queries/ada/textobjects.scm Outdated Show resolved Hide resolved
runtime/queries/ada/textobjects.scm Outdated Show resolved Hide resolved
@the-mikedavis the-mikedavis added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. A-language-support Area: Support for programming/text languages labels Mar 17, 2024
@KhazAkar
Copy link
Contributor Author

Overall question - are there any language support related tests needed? Do helix have them?

@the-mikedavis
Copy link
Member

There isn't currently a way to do unit tests for language support (highlighting, textobjects, etc.)

@the-mikedavis the-mikedavis added S-waiting-on-review Status: Awaiting review from a maintainer. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 19, 2024
@pascalkuthe pascalkuthe merged commit 485c5cf into helix-editor:master Mar 19, 2024
6 checks passed
Desdaemon pushed a commit to Desdaemon/helix that referenced this pull request Mar 26, 2024
* Adding initial support for ada language, based off helix-editor#7790 PR from tomekw

* More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP

* Generate ada in lang-support.md using cargo xtask docgen

* Update tree-sitter definitions according to comments

* Remove .gpr glob from languages.toml

* Fix unit in languages.toml for ada, update locals.scm to helix needs
postsolar pushed a commit to postsolar/helix that referenced this pull request Apr 4, 2024
* Adding initial support for ada language, based off helix-editor#7790 PR from tomekw

* More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP

* Generate ada in lang-support.md using cargo xtask docgen

* Update tree-sitter definitions according to comments

* Remove .gpr glob from languages.toml

* Fix unit in languages.toml for ada, update locals.scm to helix needs
postsolar pushed a commit to postsolar/helix that referenced this pull request Apr 4, 2024
* Adding initial support for ada language, based off helix-editor#7790 PR from tomekw

* More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP

* Generate ada in lang-support.md using cargo xtask docgen

* Update tree-sitter definitions according to comments

* Remove .gpr glob from languages.toml

* Fix unit in languages.toml for ada, update locals.scm to helix needs
postsolar pushed a commit to postsolar/helix that referenced this pull request Apr 4, 2024
* Adding initial support for ada language, based off helix-editor#7790 PR from tomekw

* More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP

* Generate ada in lang-support.md using cargo xtask docgen

* Update tree-sitter definitions according to comments

* Remove .gpr glob from languages.toml

* Fix unit in languages.toml for ada, update locals.scm to helix needs
@tomekw
Copy link

tomekw commented Apr 8, 2024

Wow! Thank you! My life got in a way and I couldn't dedicate time to make it working.

Can't wait to test it!

@KhazAkar
Copy link
Contributor Author

KhazAkar commented Apr 8, 2024

Wow! Thank you! My life got in a way and I couldn't dedicate time to make it working.

Can't wait to test it!

Sounds great that you're back man. If you need, do not hesitate to contact me privately.
Dzięki za Twoją pracę, pomogło mi to zacząć ;)

postsolar pushed a commit to postsolar/helix that referenced this pull request Apr 20, 2024
* Adding initial support for ada language, based off helix-editor#7790 PR from tomekw

* More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP

* Generate ada in lang-support.md using cargo xtask docgen

* Update tree-sitter definitions according to comments

* Remove .gpr glob from languages.toml

* Fix unit in languages.toml for ada, update locals.scm to helix needs
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
* Adding initial support for ada language, based off helix-editor#7790 PR from tomekw

* More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP

* Generate ada in lang-support.md using cargo xtask docgen

* Update tree-sitter definitions according to comments

* Remove .gpr glob from languages.toml

* Fix unit in languages.toml for ada, update locals.scm to helix needs
Vulpesx pushed a commit to Vulpesx/helix that referenced this pull request Jun 7, 2024
* Adding initial support for ada language, based off helix-editor#7790 PR from tomekw

* More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP

* Generate ada in lang-support.md using cargo xtask docgen

* Update tree-sitter definitions according to comments

* Remove .gpr glob from languages.toml

* Fix unit in languages.toml for ada, update locals.scm to helix needs
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
* Adding initial support for ada language, based off helix-editor#7790 PR from tomekw

* More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP

* Generate ada in lang-support.md using cargo xtask docgen

* Update tree-sitter definitions according to comments

* Remove .gpr glob from languages.toml

* Fix unit in languages.toml for ada, update locals.scm to helix needs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-support Area: Support for programming/text languages S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants